-
-
Notifications
You must be signed in to change notification settings - Fork 32
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Integrating Storybook #143
Conversation
Thanks Michael. Let's talk to the UX team for wishlist on Storybook to understand how they'd imagine it. As a starting point any of the pieces of the design could be a good test component. We have some components already in the components/ui/heat folder I think but they’re not very intricate yet state-wise, the situation where Storybook becomes pretty helpful . An ideal test could have some detailed state. Maybe a row of the table they’ve designed. Welcome to chat or ask the UX/design team for ideas. |
I got it running with I also ran |
Figuring the wishlist out with the UX team sounds great. Still working on the tutorial, I want to make sure I understand the fundamentals before I start working on our more complex compents. |
Please try to get the storybook-static working as described above before converting to full non-draft PR. |
Hi Thad, I think I may have made some progress on this, but also running into a bug. When I run |
I'm also getting an error from ESLint when I push a commit, I'm not sure why. This is what I've been using CLI options |
Ah sorry @mrmchughes , I made a typo. Please add your |
I solved the Linter issue. I'm confused on how to get storybook-build pointed at the directory you want, since whenever I attempt to run the command with the -o modifier it seems to not work as intended. CLI Options I have also attempted to modify the staticDirs in .storybook/main.ts, and this did not work. |
@mrmchughes Good start. I saw the warning you mentioned. Once I changed the When I did a local We must all use http://localhost:3000/storybook-static/index.html , explicitly adding index.html as it does not get forwarded to that automatically.
|
Closing as main need was for developing the component #221 in parallel with the Python rules engine data, and now the component has been made. Thank you for the efforts. |
I've installed Storybook on my fork, and will start work on the Storybook tutorial. Is there a specific small component or something similar that we need converted over that would make for a good starting point?